﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TB_CS.Authorize
{
    public partial class TB_Auth : Form
    {
        public TB_Auth()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            webBrowser1.Navigate(@"https://oauth.taobao.com/authorize?response_type=code&client_id=23595706&redirect_uri=http://lstwechat.59igou.com/web/authorize.aspx&state=1212&view=web");

        }

        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            
        }

        private void TB_Auth_Load(object sender, EventArgs e)
        {
            
        }

        private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e)
        {
            MessageBox.Show(webBrowser1.Url.ToString());
        }
    }
}
